package com.estronger.shopmanage.view;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.PopupWindow;

/**
 * 作者：DC-dingygon 2018/12/11 0011 18:48
 * 类用途：
 */
public class ComPopWindow extends PopupWindow {

    ImageView imageView;

    public ComPopWindow(Context context, ImageView imageView) {
        super(context);
        this.imageView = imageView;
    }

    @Override
    public void dismiss() {
        super.dismiss();
        if(imageView!=null){
            imageView.setVisibility(View.GONE);
        }

    }
}
